package com.hsgene.user.domain;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hsgene.common.util.date.TimeJsonDeserializer;

import java.util.Date;

/**
 * 管理员基础信息Entry
 *
 * @author wangbing
 * @version 1.0, 2018/6/28
 */
@Deprecated
public class ManagerAccount {

    /**
     * 用户唯一标识
     */
    private String id;

    /**
     * 管理员账号
     */
    private String userName;

    /**
     * 密码
     */
    private String password;

    /**
     * 账号绑定的手机号码
     */
    private String phone;

    /**
     * 供应商id（0表示为运营后台超级管理员）
     */
    private Long supplierId;

    /**
     * 是否禁用
     */
    private Boolean deleted;

    /**
     * 账号创建时间
     */
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
